QueryTo(ICollection<int>, Type, Type, Type, Type)

Method

Namespace: Ignis

Declared in: Ignis.IEntityManager


Queries entity IDs that have the specified components and adds them to the specified collection. If you care about performance and memory allocation, consider using Query(Span<int>, ReadOnlySpan<Type>) and other overloads with Span, or GetView(Type[]) .

Syntax

public void QueryTo(
	ICollection<int> storage,
	Type component1,
	Type component2,
	Type component3,
	Type component4
)

Back to index